package com.lims.service.common.impl;

import java.util.List;

import com.lims.dao.common.IEnPartyDAO;
import com.lims.po.common.EnParty;
import com.lims.service.common.IEnPartyService;



public class EnPartyServiceImpl  implements IEnPartyService {
	private IEnPartyDAO enPartyDAO;

	

	public boolean deleteEnParty(EnParty enParty) {
		return enPartyDAO.deleteEnParty(enParty);
	}

	public boolean deleteEnPartyById(int pid) {
		return enPartyDAO.deleteEnPartyById(pid);
	}

	public boolean saveEnParty(EnParty enParty) {
		return enPartyDAO.saveEnParty(enParty);
	}

	public List<EnParty> selectAll() {
		return enPartyDAO.selectAll();
	}

	public boolean selectEnPartyByEnPartyTitle(String enPartyTitle) {
		return enPartyDAO.selectEnPartyByEnPartyTitle(enPartyTitle);
	}

	public boolean updateEnParty(EnParty enParty) {
		return enPartyDAO.updateEnParty(enParty);
	}
	public EnParty selectEnPartyById(int pid) {
		return enPartyDAO.selectEnPartyById(pid);
	}

	public IEnPartyDAO getEnPartyDAO() {
		return enPartyDAO;
	}

	public void setEnPartyDAO(IEnPartyDAO enPartyDAO) {
		this.enPartyDAO = enPartyDAO;
	}
}
